
<!--top结束-->
<div class="mian">
    <div class="mian1">
        <div class="mian2">
            <!--left start-->
            <?php $this->load->view('defaults/common/left'); ?>
            <!--left end-->

            <!--right start-->
            <div class="right">
                <!--breadcrumb start-->
                <div class="righta"><?= $this->breadcrumb->generateHTML(); ?> </div>
                <!--breadcrumb end-->

                <!-- contents start -->
                <div id="contents">
                    <div id="ct_search">
                        <form action="<?= blang_url('wms/ReceivingOrderList/show_list') ?>"  >
                            <table id="search_tb">
                                <tr>
                                    <td>
                                        <?= lang('wms_panel_30011') ?>： <input type="text" name="sku" size="30" placeholder="<?= lang('wms_panel_30011') ?>">&nbsp;&nbsp;&nbsp;
                                        <input type="submit" value=" <?=lang('wms_ss')?>  ">
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                    <div class="ct_content">
                        <table class="tbwd800">
                            <tr>
                                <th><?= lang('wms_panel_30011') ?></th>
                                <th><?= lang('wms_panel_30039') ?></th>
                                <th><?= lang('wms_panel_30040') ?></th>
                                <th>SKU</th>
                                <th><?=lang('wms_sl')?></th>
                                <th><?= lang('wms_panel_30015') ?></th>
                                <th><?= lang('wms_panel_30048') ?></th>
                                <th><?= lang('wms_panel_30018') ?></th>
                            </tr>
                            <?php $urlParam = @http_build_query($this->input->get());
                            foreach ($receivingList as $row)
                            { ?>
                                <tr align="left" class="moves">
                                    <td><?= $row['order_id'] ?></td>
                                    <td><?= $row['from_whs_code'] ?></td>
                                    <td><?= $row['to_whs_code'] ?></td>
                                    <td><?= $row['sku'] ?></td>
                                    <td><?= $row['quantity'] ?></td>
                                    <td><?= $row['created_time'] ?></td> 
                                    <td><?=$status_view[$row['status']]  ?></td>
                                    <td><?php if(1==$row['status']):?><a href="<?=blang_url('wms/GeneralZc/submit_cgzc/'.$row['id']. '?' . $urlParam)?>"  onclick="return confirm('<?=  lang('wms_tips_tsqrrk'); ?>')">生成转储申请</a><?php endif;?></td>
                                </tr>
<?php } ?>
                            <tr align="center">
                                <td colspan="7"><?= $pageShow ?></td>
                            </tr>
                        </table>
                    </div>
                </div>
                <!-- contents end -->
            </div>
            <!--right end-->
            <div class="clear"></div>
        </div>
    </div>
</div>

